import react,{Component} from 'react'
import {Button} from 'antd'

import style from './error.css'
import img from '../../../public/img/404.svg'

class ErrorView extends Component{


    render(){

        return (
            <div style={{height:'100%',display:"flex",alignItems:"center",justifyContent:"center"}} >
                <div style={{paddingRight:100}} >
                    <img src={img} />
                </div>
                <div>
                    <h1 className={style.title} >404</h1>
                    <div className={style.msg} >抱歉，你访问的页面不存在</div>
                    <a href="#/" ><Button type="primary" >返回首页</Button></a>
                </div>
            </div>
        )
    }
}

export default ErrorView;